$OpenBSD: patch-fax_backend_hpfax_py,v 1.3 2015/02/05 17:34:33 ajacoutot Exp $
--- fax/backend/hpfax.py.orig	Thu Jan 29 13:20:35 2015
+++ fax/backend/hpfax.py	Thu Feb  5 14:28:00 2015
@@ -49,7 +49,7 @@ PIPE_BUF = 4096
 
 job_id = 0
 pid = os.getpid()
-config_file = '/etc/hp/hplip.conf'
+config_file = '${SYSCONFDIR}/hp/hplip.conf'
 home_dir = ''
 
 
@@ -68,7 +68,7 @@ if os.path.exists(config_file):
         bug("Error setting home directory: home= under [dirs] not found.")
         sys.exit(1)
 else:
-    bug("Error setting home directory: /etc/hp/hplip.conf not found")
+    bug("Error setting home directory: ${SYSCONFDIR}/hp/hplip.conf not found")
     sys.exit(1)
 
 if not home_dir or not os.path.exists(home_dir):
